Skip to content

[Merged by Bors] - feat(MeasureTheory): the integral of a vector-valued function against a vector measure is additive#30230

Closed
CoolRmal wants to merge 30 commits into
leanprover-community:masterfrom
CoolRmal:VectorMeasureIntegral
Closed

[Merged by Bors] - feat(MeasureTheory): the integral of a vector-valued function against a vector measure is additive#30230
CoolRmal wants to merge 30 commits into
leanprover-community:masterfrom
CoolRmal:VectorMeasureIntegral

Conversation

@CoolRmal

@CoolRmal CoolRmal commented Oct 5, 2025

Copy link
Copy Markdown
Contributor

Add some basic lemmas about the integral of a vector measure. This PR specifically focuses on the additivity of the integral.

Created with the help of Codex.


Open in Gitpod

@github-actions github-actions Bot added new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-measure-probability Measure theory / Probability theory labels Oct 5, 2025
@github-actions

github-actions Bot commented Oct 5, 2025

Copy link
Copy Markdown

PR summary 0606ced125

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ add_left_measure
+ add_right_measure
+ apply_eq_zero_of_isEmpty
+ coe_finsetSum
+ eq_zero_of_isEmpty
+ finsetSum_measure
+ instance [IsEmpty α] : Subsingleton (VectorMeasure α M)
+ integral_add_cbm
+ integral_add_vectorMeasure
+ integral_congr_ae
+ integral_eq_zero_of_ae
+ integral_finsetSum
+ integral_finsetSum_cbm
+ integral_finsetSum_vectorMeasure
+ integral_neg_cbm
+ integral_neg_vectorMeasure
+ integral_of_isEmpty
+ integral_sub_cbm
+ integral_sub_vectorMeasure
+ integral_undef
+ integral_zero
+ integral_zero_cbm
+ integral_zero_vectorMeasure
+ of_le
+ setToFun_add_measure
+ setToFun_finsetSum_measure
+ setToFun_neg'
+ setToFun_sub_measure
+ sub
+ sub_measure
+ transpose_add_cbm
+ transpose_add_vectorMeasure
+ transpose_finsetSum_cbm
+ transpose_finsetSum_vectorMeasure
+ transpose_neg_cbm
+ transpose_neg_vectorMeasure
+ transpose_sub_cbm
+ transpose_sub_vectorMeasure
+ transpose_zero_cbm
+ transpose_zero_vectorMeasure
++ add_measure
++ neg

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 5, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 5, 2026
@CoolRmal CoolRmal closed this May 7, 2026
@CoolRmal
CoolRmal force-pushed the VectorMeasureIntegral branch from 8be6a9b to 7948ce3 Compare May 7, 2026 20:15
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 7, 2026
@CoolRmal CoolRmal reopened this May 8, 2026
@CoolRmal CoolRmal changed the title feat(MeasureTheory): Basic properties of the integral against a vector measure with a bilinear form. feat(MeasureTheory): the integral of a vector-valued function against a vector measure is additive May 9, 2026
@CoolRmal
CoolRmal marked this pull request as ready for review May 9, 2026 02:49
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 9, 2026
mathlib-bors Bot pushed a commit that referenced this pull request May 12, 2026
…measures (#39103)

We show that the variation of vector measures satisfies the triangle inequality. As an application, we show that integrals are additive in vector measures and bilinear forms in #30230.

Coauthored by @yoh-tanimoto.

Created with the help of Codex.
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 12, 2026
@CoolRmal

Copy link
Copy Markdown
Contributor Author

@sgouezel I just addressed some of the comments. I would prefer that this PR be merged and cleaned up afterwards, as I need to focus on some other projects recently and don’t want to slow down the progress on integration by parts. If cleaning up this PR turns out to be overly complicated, I can also close it.

@CoolRmal

Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 24, 2026
@sgouezel

Copy link
Copy Markdown
Contributor

Then I'd say let's merge this in, and then I'll do a cleanup PR. This makes sense as your PR is already in an excellent shape. @EtienneC30, does it seems reasonable to you?

@EtienneC30 EtienneC30 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I think it's ready to go!
maintainer delegate

Comment thread Mathlib/MeasureTheory/Integral/FinMeasAdditive.lean Outdated
Comment on lines 130 to 134
noncomputable def integral (μ : VectorMeasure X F) (f : X → E) (B : E →L[ℝ] F →L[ℝ] G) : G :=
if _ : CompleteSpace G then
setToFun (μ.transpose B).variation (μ.transpose B)
(dominatedFinMeasAdditive_cbmApplyMeasure μ B) f
else 0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to suggest you add a lemma

lemma integral_def [hG : CompleteSpace G] :
    ∫ᵛ x, f x ∂[B; μ] =
    setToFun (μ.transpose B).variation (μ.transpose B)
    (dominatedFinMeasAdditive_cbmApplyMeasure μ B) f := by simp [integral, hG]; rfl

to use simp only [integral_def] in proofs but this actually fails because cbmApplyMeasure is not exposed so is not unfolded. Looks to me like the definition should replace (µ.transpose B) with (cbmApplyMeasure µ B) and your lemmas about transpose should actually be about cbmApplyMeasure. This is not really a problem but I thought I'd mention it.

Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label May 25, 2026
@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by EtienneC30.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 25, 2026
@sgouezel

Copy link
Copy Markdown
Contributor

bors d+

@mathlib-bors

mathlib-bors Bot commented May 25, 2026

Copy link
Copy Markdown
Contributor

✌️ CoolRmal can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-author A reviewer has asked the author a question or requested changes. maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 25, 2026
CoolRmal and others added 9 commits May 26, 2026 10:17
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
@CoolRmal

Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request May 26, 2026
… a vector measure is additive (#30230)

Add some basic lemmas about the integral of a vector measure. This PR specifically focuses on the additivity of the integral.

Created with the help of Codex.
@mathlib-bors

mathlib-bors Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(MeasureTheory): the integral of a vector-valued function against a vector measure is additive [Merged by Bors] - feat(MeasureTheory): the integral of a vector-valued function against a vector measure is additive May 26, 2026
@mathlib-bors mathlib-bors Bot closed this May 26, 2026
@CoolRmal
CoolRmal deleted the VectorMeasureIntegral branch May 26, 2026 16:15
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
… a vector measure is additive (leanprover-community#30230)

Add some basic lemmas about the integral of a vector measure. This PR specifically focuses on the additivity of the integral.

Created with the help of Codex.
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
… a vector measure is additive (leanprover-community#30230)

Add some basic lemmas about the integral of a vector measure. This PR specifically focuses on the additivity of the integral.

Created with the help of Codex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants